package edu.zut.cs.ai.teach.product.domain;

import edu.zut.cs.ai.teach.base.domain.BaseTreeEntity;
import jakarta.persistence.Entity;
import jakarta.persistence.NamedQueries;
import jakarta.persistence.NamedQuery;
import jakarta.persistence.Table;

@Table
@Entity
@NamedQueries({ @NamedQuery(name = "ProductCategory.getRoot", query = "select g from ProductCategory g where g.parent is null") })
public class ProductCategory extends BaseTreeEntity<Long, ProductCategory> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7457161936091622133L;

}
